package com.entity.myInterface;

import com.okok.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;


public interface UserDao extends MongoRepository<User, String>, UserDaoCustom {
    User findByLoginName(String loginName);
    User findByEmail(String email);
}
